package com.quanquan.parking.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName:UserCar
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/4/2 14:59
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "oo_user_car")
public class UserCar implements Serializable {

    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    @Column(name = "create_time", length = 32)
    private String createTime;

    @Column(name = "update_time", length = 32)
    private String updateTime;

    /**
     * 用户id
     */
    @Column(name = "user_id", length = 32)
    private String userId;

    /**
     * 用户手机号
     */
    private String mobile;

    /**
     * 车牌号
     */
    @Column(name = "car_number", length = 32)
    private String carNumber;

    /**
     * 0显示 1不显示
     */
    @Column(name = "status_show", columnDefinition = "TINYINT default 0")
    private Integer statusShow;

    /**
     * 0未删除 1删除
     */
    @Column(name = "status_remove", columnDefinition = "TINYINT default 0")
    private Integer statusRemove;


}
